package com.kitten.search.biz.domain.mapper;


import org.apache.ibatis.annotations.Param;

import java.util.Map;
import java.util.List;

/**
 * @author kitten
 */
public interface SelectMapper {
    /**
     * 查询笔记文档的全字段数据
     * @param noteId
     * @return
     */
    List<Map<String, Object>> selectEsNoteIndexData(@Param("noteId") Long noteId, @Param("userId") Long userId);

    /**
     * 查询用户的全字段数据
     * @param userId
     * @return
     */
    List<Map<String, Object>> selectEsUserIndexData(@Param("userId") Long userId);
}
